/* ==========================================================================
   Our History Page Dedicated Styling
  Prefix: history-
   ========================================================================== */

/* Hero Section */
.history-hero-header {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.history-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  color: #d8f3dc;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.history-hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.history-hero-content p {
  font-size: 1.1rem;
  color: #b7e4c7;
  max-width: 700px;
  margin: 0 auto;
}

/* Layout Wrapper */
.history-main-section {
  padding: 50px 0;
  background-color: #f8f9fa;
}

.history-grid-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 35px;
  align-items: start;
}

/* Quote Card Block */
.history-quote-card {
  background: #ffffff;
  border-left: 5px solid #2d6a4f;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 35px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  position: relative;
}

.history-quote-icon {
  font-size: 4rem;
  color: #d8f3dc;
  position: absolute;
  top: -10px;
  right: 25px;
  font-family: Georgia, serif;
  line-height: 1;
}

.history-quote-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2b2b2b;
  font-style: italic;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.history-quote-author {
  font-weight: 700;
  color: #1b4332;
  font-size: 0.95rem;
}

/* Accordion Component */
.history-timeline-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.history-acc-item {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.history-acc-item.active {
  border-color: #52b788;
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.08);
}

.history-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: background-color 0.2s ease;
}

.history-acc-trigger:hover {
  background-color: #f1f8f5;
}

.history-acc-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #d8f3dc;
  color: #1b4332;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.history-acc-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1b4332;
  flex-grow: 1;
}

.history-acc-arrow {
  color: #52b788;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.history-acc-item.active .history-acc-arrow {
  transform: rotate(180deg);
}

.history-acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: #ffffff;
}

.history-acc-content {
  padding: 0 22px 22px 22px;
  color: #4a5568;
  line-height: 1.7;
  font-size: 0.98rem;
}

.history-acc-content p{
  margin: 10px 0;
}

.history-inner-card {
  background: #f7fafc;
  border-left: 3px solid #74c69d;
  padding: 15px;
  margin-top: 15px;
  border-radius: 4px;
}

.history-inner-card h4 {
  font-size: 0.95rem;
  color: #1b4332;
  margin-bottom: 5px;
}

/* Sidebar Widgets */
.history-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.history-widget {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.history-poster-card {
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.history-poster-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.history-poster-info {
  padding: 15px;
  background: #1b4332;
  color: #ffffff;
}

.history-poster-info h3 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.history-poster-info p {
  font-size: 0.85rem;
  color: #b7e4c7;
  margin: 0;
}

/* Press Widget */
.history-press-card h3 {
  font-size: 1.15rem;
  color: #1b4332;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d8f3dc;
}

.history-press-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.history-press-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}

.history-press-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.history-press-list a {
  text-decoration: none;
  display: block;
  color: #2d3748;
  transition: color 0.2s ease;
}

.history-press-list a:hover {
  color: #2d6a4f;
}

.history-press-list strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

.history-press-date {
  font-size: 0.8rem;
  color: #718096;
}

.history-btn-more {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 10px;
  background: #2d6a4f;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.history-btn-more:hover {
  background: #1b4332;
}

.history-acc-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.history-acc-images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.svg-wrapper{
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 10px;
}

.svg-wrapper svg{
  width: 20px;
  height: 20px;
  fill: #2d6a4f;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .history-grid-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

    .history-acc-images {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .history-acc-images img {
        height: 200px;
    }

}

@media (max-width: 576px) {
  .history-hero-content h1 {
    font-size: 1.8rem;
  }
  
  .history-acc-content {
    padding: 0 15px 15px 15px;
  }
  
  .history-acc-trigger {
    padding: 14px 15px;
  }
}